/* 
 * File:   Print.cpp
 * Author: maximiliano
 * 
 * Created on March 26, 2013, 5:43 PM
 */

#include "Print.h"

using namespace TP3::Mangling;

Print::Print() {
}

Print::~Print() {
}

string& Print::run (string& operating){
    (*_outPut) << operating << endl;
    return operating;
}

ostream* Print::setOutput(ostream* outPut){
    
    _outPut = outPut;
    return outPut;
}

string Print::getName(){

    return "print";
}